﻿namespace Rosieks.Web.Flow
{
    public class StaticStoreLocationPolicy : IStoreLocationPolicy
    {
        private string location;

        public StaticStoreLocationPolicy(string location)
        {
            this.location = location;
        }

        public string GetStoreLocation(WebflowContext webflowContext, System.Web.Mvc.ControllerContext context, StoreLocationOperation operation)
        {
            return this.location;
        }
    }
}
